﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FrmEditPaperDate.aspx.cs" Inherits="ExamV5.PaperInfo.FrmEditPaperDate" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <meta http-equiv="Content-Language" content="zh-cn" />
    <script type="text/javascript"  charset="gb2312"  language="javascript" src="../Image/calendar.js"></script>
    <link href="../Image/STYLE.CSS" rel="stylesheet" type="text/css" />    
    
</head>
<body>
    <form id="form1" runat="server" >
     <asp:ScriptManager ID="SM" runat="server">
                        </asp:ScriptManager>
                        <asp:UpdatePanel ID="UPPart" runat="server">
                           <ContentTemplate>
    <table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
       <tr>
			<td>
				<table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
					<tr height="33">
						<td width="6"><img src="../Image/SHeadLeft.gif" border="0"></td>
						<td align="center" width="130" background="../Image/SHeadLeft1.gif" height="33"><font color="white"><b>修改试卷参数</b></font></td>
						<td width="7"><img src="../Image/SHeadLeft2.gif" border="0"></td>
						<td  background="../Image/SHeadLeft3.gif" height="33" width="550"></td>
						<td width="10"><img src="../Image/SHeadLeft4.gif" border="0"></td>
					</tr>
				</table>
			</td>
		</tr>
		<tr height="10">
			<td></td>
		</tr>
		<tr>
		    <td>
            
				<table id="table2" borderColor="#cccccc" cellSpacing="0" borderColorDark="#cccccc" cellPadding="0"
							width="99%" align="center" border="1" class="tableStyle">
							<tr height="35">
								<td bgColor="#d4e5f5">&nbsp;<img src="../Image/MenuICO/Choose23.gif" border="0"  style='POSITION:relative;TOP:3px'><strong> <font color="#ff0000">因试卷已生效,所以只能修改基本参数</font></strong></td>
							</tr>
                           <tr>
								<td>
									<table id="table3" borderColor="#cccccc" cellSpacing="0" borderColorDark="#cccccc" cellPadding="0"
										width="100%" align="center" border="1" class="tableStyle">
                                        <tr bgColor="#ffffff" height="30">
											<td align="right" width="80"> 考试名称：</td>
											<td align="left"><asp:Label ID="labExamName" runat="server"></asp:Label>
                                            </td>
										</tr>
                                        <tr  bgColor="#f5fcfe" height="30">
											<td align="right" width="80"> 所属科目：</td>
											<td><asp:Label ID="labSubjectName" runat="server"></asp:Label></td>
                                       </tr>
                                       <tr bgColor="#ffffff" height="30">
											<td align="right" width="80"> 考试总分：</td>
											<td><asp:Label ID="labPaperFen" runat="server"></asp:Label></td>
										</tr>
                                        <tr bgColor="#f5fcfe" height="30">
											<td align="right" width="80">考试时长：</td>
											<td align="left"><asp:Label ID="labExamTime" runat="server"></asp:Label>
                                            </td>
										</tr>
                                        <tr bgColor="#ffffff" height="30">
											<td align="right" width="80"><font color="red">*</font> 入考场IP：</td>
											<td><asp:textbox id="txtStartIP" runat="server" MaxLength="15" CssClass="text"  Width="170px" onKeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46)  event.returnValue = false;"
																style="IME-MODE:disabled;height:26px;" onpaste='return false'>1.0.0.0</asp:textbox>─<asp:textbox id="txtEndIP" runat="server" MaxLength="15" CssClass="text" Width="170px" onKeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46)  event.returnValue = false;"
																style="IME-MODE:disabled;height:26px;" onpaste='return false'>255.255.255.255</asp:textbox></td>
										</tr>
                                        
                                        <tr bgColor="#f5fcfe" height="30">
											<td align="right" width="80"><font color="red">*</font> 有效期限：</td>
											<td align="left"><table cellSpacing="0" cellPadding="0" border="0" bordercolor="#7392c6" bordercolordark="#7392c6" style="BORDER-COLLAPSE: collapse">
                                                    <tr>
                                                        <td><asp:TextBox id="txtStartDate" runat="server" Width="90px"  style="height:26px;" CssClass="text" onclick="calendar(this)"></asp:TextBox></td>
                                                        <td><asp:DropDownList id="DDLStartH" runat="server" style="height:26px;">
													<asp:ListItem Value="1">1</asp:ListItem>
													<asp:ListItem Value="2">2</asp:ListItem>
													<asp:ListItem Value="3">3</asp:ListItem>
													<asp:ListItem Value="4">4</asp:ListItem>
													<asp:ListItem Value="5">5</asp:ListItem>
													<asp:ListItem Value="6">6</asp:ListItem>
													<asp:ListItem Value="7">7</asp:ListItem>
													<asp:ListItem Value="8">8</asp:ListItem>
													<asp:ListItem Value="9">9</asp:ListItem>
													<asp:ListItem Value="10">10</asp:ListItem>
													<asp:ListItem Value="11">11</asp:ListItem>
													<asp:ListItem Value="12">12</asp:ListItem>
													<asp:ListItem Value="13">13</asp:ListItem>
													<asp:ListItem Value="14">14</asp:ListItem>
													<asp:ListItem Value="15">15</asp:ListItem>
													<asp:ListItem Value="16">16</asp:ListItem>
													<asp:ListItem Value="17">17</asp:ListItem>
													<asp:ListItem Value="18">18</asp:ListItem>
													<asp:ListItem Value="19">19</asp:ListItem>
													<asp:ListItem Value="20">20</asp:ListItem>
													<asp:ListItem Value="21">21</asp:ListItem>
													<asp:ListItem Value="22">22</asp:ListItem>
													<asp:ListItem Value="23">23</asp:ListItem>
												</asp:DropDownList><asp:DropDownList id="DDLStartM" runat="server" style="height:26px;">
													<asp:ListItem Value="00">00</asp:ListItem>
                                                    <asp:ListItem Value="05">05</asp:ListItem>
                                                    <asp:ListItem Value="10">10</asp:ListItem>
							                        <asp:ListItem Value="15">15</asp:ListItem>
                                                    <asp:ListItem Value="20">20</asp:ListItem>
                                                    <asp:ListItem Value="25">25</asp:ListItem>
							                        <asp:ListItem Value="30">30</asp:ListItem>
                                                    <asp:ListItem Value="35">35</asp:ListItem>
                                                    <asp:ListItem Value="40">40</asp:ListItem>
							                        <asp:ListItem Value="45">45</asp:ListItem>
                                                    <asp:ListItem Value="50">50</asp:ListItem>
                                                    <asp:ListItem Value="55">55</asp:ListItem>
												</asp:DropDownList></td>
                                                        <td>─</td>
                                                        <td><asp:TextBox id="txtEndDate" runat="server" Width="90px"  style="height:26px;" CssClass="text" onclick="calendar(this)"></asp:TextBox></td>
                                                        <td><asp:DropDownList id="DDLEndH" runat="server" style="height:26px;">
													<asp:ListItem Value="1">1</asp:ListItem>
													<asp:ListItem Value="2">2</asp:ListItem>
													<asp:ListItem Value="3">3</asp:ListItem>
													<asp:ListItem Value="4">4</asp:ListItem>
													<asp:ListItem Value="5">5</asp:ListItem>
													<asp:ListItem Value="6">6</asp:ListItem>
													<asp:ListItem Value="7">7</asp:ListItem>
													<asp:ListItem Value="8">8</asp:ListItem>
													<asp:ListItem Value="9">9</asp:ListItem>
													<asp:ListItem Value="10">10</asp:ListItem>
													<asp:ListItem Value="11">11</asp:ListItem>
													<asp:ListItem Value="12">12</asp:ListItem>
													<asp:ListItem Value="13">13</asp:ListItem>
													<asp:ListItem Value="14">14</asp:ListItem>
													<asp:ListItem Value="15">15</asp:ListItem>
													<asp:ListItem Value="16">16</asp:ListItem>
													<asp:ListItem Value="17">17</asp:ListItem>
													<asp:ListItem Value="18">18</asp:ListItem>
													<asp:ListItem Value="19">19</asp:ListItem>
													<asp:ListItem Value="20">20</asp:ListItem>
													<asp:ListItem Value="21">21</asp:ListItem>
													<asp:ListItem Value="22">22</asp:ListItem>
													<asp:ListItem Value="23">23</asp:ListItem>
												</asp:DropDownList><asp:DropDownList id="DDLEndM" runat="server" style="height:26px;">
													<asp:ListItem Value="00">00</asp:ListItem>
                                                    <asp:ListItem Value="05">05</asp:ListItem>
                                                    <asp:ListItem Value="10">10</asp:ListItem>
							                        <asp:ListItem Value="15">15</asp:ListItem>
                                                    <asp:ListItem Value="20">20</asp:ListItem>
                                                    <asp:ListItem Value="25">25</asp:ListItem>
							                        <asp:ListItem Value="30">30</asp:ListItem>
                                                    <asp:ListItem Value="35">35</asp:ListItem>
                                                    <asp:ListItem Value="40">40</asp:ListItem>
							                        <asp:ListItem Value="45">45</asp:ListItem>
                                                    <asp:ListItem Value="50">50</asp:ListItem>
                                                    <asp:ListItem Value="55">55</asp:ListItem>
												</asp:DropDownList></td>
                                                    </tr>
                                                </table>
                                            </td>
										</tr>
                                         <tr bgColor="#ffffff" height="30">
											<td align="right" width="80"><font color="red">*</font> 考试模式：</td>
											<td align="left"> <asp:RadioButtonList  RepeatLayout="Flow" id="RBLExamShow" runat="server" Width="255px" RepeatDirection="Horizontal">
													<asp:ListItem Value="Y"  Selected="True">可以切屏离开考场</asp:ListItem>
                                                    <asp:ListItem Value="N">禁止切屏离开考场</asp:ListItem>

												</asp:RadioButtonList>
                                            </td>
										</tr>
                                        <tr bgColor="#f5fcfe" height="30">
											<td align="right" width="80"><font color="red">*</font> 试卷排版：</td>
											<td align="left"> <asp:RadioButtonList  RepeatLayout="Flow" id="RBLRubricShow" runat="server" Width="328px" RepeatDirection="Horizontal">
													<asp:ListItem Value="Y" Selected="True">试题全页显示</asp:ListItem>
													<asp:ListItem Value="N">一页一道试题</asp:ListItem>
												</asp:RadioButtonList></td>
										</tr>
                                         <tr bgColor="#ffffff" height="30">
											<td align="right" width="80"><font color="red">*</font> 考试次数：</td>
											<td align="left">
                                               <asp:TextBox id="txtJoinExamNum"   runat="server" Width="90px" CssClass="text" onKeypress="javascript:if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"
													style="IME-MODE:disabled;height:26px;" onpaste='return false' MaxLength="3">0</asp:TextBox> 次
                                            </td>
										</tr>

                                         <tr bgColor="#f5fcfe" height="30">
											<td align="right" width="80">分值标准：</td>
											<td align="left"> <asp:GridView ID="DataGridInfo" runat="server" AllowPaging="false"
                                            AutoGenerateColumns="False" CellPadding="5" BorderWidth="1px" Width="500" 
                                            CssClass="tableStyle" BackColor="White"  onrowdatabound="DataGridInfo_RowDataBound" 
                                            onrowcancelingedit="DataGridInfo_RowCancelingEdit"  onrowediting="DataGridInfo_RowEditing" 
                                            onrowupdating="DataGridInfo_RowUpdating" DataKeyNames="ID,StandFlag" >
							            <HeaderStyle Font-Bold="True" HorizontalAlign="Center" CssClass="tabth_bg" ForeColor="#143F61"></HeaderStyle>
							            <FooterStyle ForeColor="#000066" BackColor="White"></FooterStyle>
                                            <Columns>
                                                <asp:BoundField DataField="ReuleName" HeaderText="得分标准名称">
                                                </asp:BoundField>
                                                <asp:TemplateField HeaderText="分值范围">
                                                 <ItemStyle HorizontalAlign="Center"></ItemStyle>
													<ItemTemplate>
														<asp:Label id=labMin runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"MinValue") %>'>
														</asp:Label>—
														<asp:Label id=labMax runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"MaxValue") %>'>
														</asp:Label>
													</ItemTemplate>
													<EditItemTemplate>
														<asp:TextBox id="txtMinValue" Text='<%# DataBinder.Eval(Container.DataItem,"MinValue") %>' runat="server"  CssClass="text" Width="50" onKeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) && event.keyCode!=13 && event.keyCode!=46  &&  event.keyCode!=189)  event.returnValue = false;" style="IME-MODE:disabled;height:26px;" onpaste='return false' MaxLength="4">
														</asp:TextBox>—
														<asp:TextBox id="txtMaxValue" Text='<%# DataBinder.Eval(Container.DataItem,"MaxValue") %>' runat="server"  CssClass="text" Width="50" onKeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) && event.keyCode!=13 && event.keyCode!=46  &&  event.keyCode!=189)  event.returnValue = false;" style="IME-MODE:disabled;height:26px;" onpaste='return false' MaxLength="4">
														</asp:TextBox>
													</EditItemTemplate>
                                                    <HeaderStyle Width="200px" />
                                                </asp:TemplateField>
                                                
                                                <asp:CommandField HeaderText="编辑" ShowEditButton="True" EditText="编辑" UpdateText="更新" CancelText="取消" >
                                                <HeaderStyle Width="60px" />
                                                <ItemStyle HorizontalAlign="Center" />
                                                </asp:CommandField>
                                               
                                            </Columns>
                                        <PagerStyle HorizontalAlign="Right" />
           
                                     </asp:GridView>
                                            </td>
										</tr>
                                        

                                         <tr bgColor="#ffffff" height="30">
											<td align="right" width="80">试卷类型：</td>
											<td align="left"><asp:Label ID="labPaperStatus" runat="server"></asp:Label>
                                            </td>
										</tr>
                                        <tr bgColor="#f5fcfe" height="30">
											<td align="right" width="80">编辑人员：</td>
											<td align="left"><asp:Label ID="labInputUser" runat="server"></asp:Label>
                                            </td>
										</tr>
                                        <tr bgColor="#ffffff" height="30">
											<td align="right" width="80">编辑时间：</td>
											<td align="left"><asp:Label ID="labInputTime" runat="server"></asp:Label>
                                            </td>
										</tr>
									</table>
                                        	
								</td>
							</tr>
                            
                   </table>	
                   <table id="table1" borderColor="#cccccc" cellSpacing="0" borderColorDark="#ffffff" cellPadding="0"
							width="99%" align="center" border="0"><tr>
								            <td align="center"><br /><asp:Button ID="butEnter" runat="server" Text="提  交" 
                                                    CssClass="but2B" onclick="butEnter_Click" /><asp:Button ID="butClose" runat="server" Text="关  闭" CssClass="but2R" OnClientClick="javascript:window.close();" /><br /><br /></td>
							            </tr>
                   </table>	
                   
            </td>
        </tr> 
         </table>
        </ContentTemplate>
       </asp:UpdatePanel>
    </form>
</body>
</html>

